<?php
namespace app\common\model;

class UserWalletDynamicLog extends \think\Model {
	protected $table = 'league_user_wallet_dynamic_log';

	public function getTypeAttr($value) {
		$status = [
			2 => '提现'
		];

		return $status[$value];
	}

	public function getIsStateAttr($value) {
		$state = [0 => '否', 1 => '是'];
		return $state[$value];
	}
}
?>